package com.itqf.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * projectName: springmvc2103
 *
 * @author: 赵伟风
 * time: 2021/7/5 17:32
 * description:
 */

@RestController
@RequestMapping("a")
public class AController {

    @GetMapping("one")
    public Object one(){
        System.out.println("AController.one");
        return "a one";
    }

    @GetMapping("two")
    public Object two(){
        System.out.println("AController.two");
        return "a two";
    }

}
